package com.li.jiang.obj.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author 李江
 * @since 2024-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_post")
@ApiModel(value="Post对象", description="岗位表")
public class Post implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "公司id")
    private Long cid;

    @ApiModelProperty(value = "岗位名称")
    private String name;

    @ApiModelProperty(value = "工作地点")
    private String address;

    @ApiModelProperty(value = "工作经验(在校，应届，工作n年)")
    private String experience;

    @ApiModelProperty(value = "学历要求（博士，硕士，本科，大专。。）")
    private String qualification;

    @ApiModelProperty(value = "岗位要求")
    private String requires;

    @ApiModelProperty(value = "福利待遇")
    private String treatment;

    @ApiModelProperty(value = "岗位职责")
    private String responsibility;

    @ApiModelProperty(value = "薪水起点")
    private Integer salaryFrom;

    @ApiModelProperty(value = "薪水顶点")
    private Integer salaryTo;

    @ApiModelProperty(value = "薪水结算方式")
    private String way;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "招聘截止日期")
    private LocalDateTime lastTime;
    @ApiModelProperty(value = "岗位标签")
    private String labs;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
